package com.libaiwen.service;

import com.libaiwen.pojo.Books;

import java.util.List;

//调dao层
public interface BookService {
    int addBook(Books books);
    int deleteBookById(int id);
    int updateBook(Books book);
    Books queryBookById(int id);
    List<Books> queryAllBooks();
}
